{% extends "base.html" %}

{% block title %}Create an account{% endblock %}

{% block content %}
  <h2>Create an account</h2>
  <div class="module">
  	<div class="module-content">
  		<h2 class="module-header">Enter account information</h2>
  		
  		{% if form.errors or profile_form.errors %}
    		<p class="error">Sorry, fix the errors and try again</p>
  		{% endif %}
  		<div class="form">
  	<form action="" method="post">
      {{ form.as_p }}
      {{ profile_form.as_p }}
      <input type="submit" value="Create the account">
  </form>
  </div>
  </div>
  </div>
{% endblock %}